package com.iot.enums;

public enum RejectInviteContentEnum {

    CHINESE(0,"$X拒绝了你的邀请关注"),
    TRADITIONAL_CHINESE(1,"$X拒絕了你的邀請關注"),
    ENGLISH(2,"$X rejected your invitation to follow"),
    FRENCH(3,"$X a rejeté votre invitation à suivre"),
    GERMAN(4,"$X hat Ihre Einladung abgelehnt, folgen zu können"),
    ITALIAN(5,"$X ha respinto il tuo invito a seguire"),
    JAPANESE(6,"$Xはあなたの招待を拒否しました"),
    POLISH(7,"$X odrzucił twoje zaproszenie do uwagi"),
    PORTUGUESE(8,"$X rejeitou seu convite para seguir"),
    RUSSIAN(9,"$X отклонил ваше приглашение следить"),
    SPANISH(10,"$X rechazó tu invitación a seguir"),
    ARABIC(11,"رفض $X دعوتك للمتابعة"),
    GREEK(12,"$X απορρίπτει την πρόσκλησή σας να δώσει προσοχή"),
    KOREAN(13,"$X는 당신의 초청을 거부했습니다."),
    THAI(14,"$X ปฏิเสธคำเชิญของคุณเพื่อติดตาม"),
    PERSIAN(15,"$X دعوت شما را رد کرد تا دنبال شود"),
    TURKISH(16,"$X, takip etme davetini reddetti"),
    VIETNAMESE(17,"$X từ chối lời mời theo dõi của bạn"),
    DUTCH(18,"$X verwerpt uw uitnodiging om aandacht te besteden"),
    DANISH(19,"$X afviste din invitation til at være opmærksom på"),
    CZECH(20,"$X odmítl vaši pozvání na pozornost"),
    SWEDISH(21,"$X avvisar din inbjudan att uppmärksamma"),
    FINNISH(22,"$X hylkäsi kutsun huomiota"),
    BULGARIAN_LANGUAGE(23,"$X отхвърли вашата покана за последване"),
    UKRAINIAN(24,"$X відхиляє ваше запрошення до уваги"),
    HEBREW(25,"$X דחה את ההזמנה שלך לשים לב");


    private Integer code;

    private String content;


    RejectInviteContentEnum(Integer code, String content) {
        this.code = code;
        this.content = content;
    }

    public Integer getCode() {
        return code;
    }

    public String getContent() {
        return content;
    }

    public static String getByCode(Integer code){
        if (null == code) {
            return CHINESE.getContent();
        }

        for (ApplyContentEnum value : ApplyContentEnum.values()) {
            if (value.getCode().equals(code)) {
                return value.getContent();
            }
        }
        return CHINESE.getContent();
    }
}
